package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.bean.wd_ht_build;
import com.dao.wd_ht_buildMapper;
import com.service.BuildService;
@Service
public class BuildServiceImpl implements BuildService{
	@Autowired
    @Qualifier("wd_ht_buildMapper")
	private wd_ht_buildMapper bulidDao;
	public int deleteByPrimaryKey(String buildId) {
		return bulidDao.deleteByPrimaryKey(buildId);
	}

	public int insert(wd_ht_build record) {
		return bulidDao.insert(record);
	}

	public int insertSelective(wd_ht_build record) {
		return bulidDao.insertSelective(record);
	}

	public wd_ht_build selectByPrimaryKey(String buildId) {
		return bulidDao.selectByPrimaryKey(buildId);
	}

	public int updateByPrimaryKeySelective(wd_ht_build record) {
		return bulidDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(wd_ht_build record) {
		return bulidDao.updateByPrimaryKey(record);
	}

	public List<wd_ht_build> selectAllToProject() {
		return bulidDao.selectAllToProject();
	}

	public List<wd_ht_build> selectAllByProject(String projectId) {
		return bulidDao.selectAllByProject(projectId);
	}

}
